package app.imttf.online.backing.buatttf;

import app.imttf.online.adfextensions.ADFUtils;
import app.imttf.online.backing.utils.BackingUtil;

import oracle.adf.view.rich.component.rich.data.RichTable;
import oracle.adf.view.rich.event.DialogEvent;

public class TtfPkpCrudBackingBean {
    private RichTable pkpTable;

    public TtfPkpCrudBackingBean() {
    }

    public void confirmDeleteBpbPkp(DialogEvent dialogEvent) {
        BackingUtil.confirmDeleteDialogListener(dialogEvent, getPkpTable(), "TtfBpbInputView1");
        ADFUtils.invokeEL("#{bindings.Commit.execute}");
    }

    public void setPkpTable(RichTable pkpTable) {
        this.pkpTable = pkpTable;
    }

    public RichTable getPkpTable() {
        return pkpTable;
    }
}
